From e5c667ebc6457cb0d68b65d84f88b733d1121599 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 8 Jul 2014 09:30:54 -0700 Subject: [PATCH] Ignore lib directory for exes check Apparently older versions of git report all contents of submodules in the ls-files command! --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 983c1073c..7a422faff 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ style: sh tests/check-style.sh no-exes: - find $$(git ls-files) -perm +111 -type f \ + find $$(git ls-files | grep -v '^lib') -perm +111 -type f \ -not -name '*.sh' -not -name '*.rs' | grep '.*' \ && exit 1 || exit 0 -- 2.30.2